package cn.itcast.service;

import cn.itcast.entity.PageResult;
import cn.itcast.pojo.Role;
import java.util.List;
import java.util.Map;

public interface Sys_roleService  {
    PageResult queryRoleList(Integer page, Integer pageSize, String queryString);

    List<Role> queryRoleList(Integer page,Integer pageSize);

    Boolean saveRoles(Map<String,String> map);

    Role queryEditRoles(Integer id);

    Boolean editRoles(Role role);

    Boolean delRoles(Integer id);

    List<Role> queryRolesAll();
}
